﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Iit.ITBI.MDSWrapper
{
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name = "Error", Namespace = "http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
    [System.SerializableAttribute()]
    public partial class MDSError : Common.ServiceReference1.DataContractBase
    {

        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string CodeField;

        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private Common.ServiceReference1.ErrorContext ContextField;

        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string DescriptionField;

        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Code
        {
            get
            {
                return this.CodeField;
            }
            set
            {
                if ((object.ReferenceEquals(this.CodeField, value) != true))
                {
                    this.CodeField = value;
                    this.RaisePropertyChanged("Code");
                }
            }
        }

        [System.Runtime.Serialization.DataMemberAttribute()]
        public Common.ServiceReference1.ErrorContext Context
        {
            get
            {
                return this.ContextField;
            }
            set
            {
                if ((object.ReferenceEquals(this.ContextField, value) != true))
                {
                    this.ContextField = value;
                    this.RaisePropertyChanged("Context");
                }
            }
        }

        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Description
        {
            get
            {
                return this.DescriptionField;
            }
            set
            {
                if ((object.ReferenceEquals(this.DescriptionField, value) != true))
                {
                    this.DescriptionField = value;
                    this.RaisePropertyChanged("Description");
                }
            }
        }
    }
}



